package edu.paper.job.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import edu.paper.job.dao.JobDao;
import edu.paper.job.domain.Job;

/**
 * 工作数据库操作实现类
 * @author bowen
 *
 */
@Repository
public class JobDaoImpl extends BaseDaoImpl<Job> implements JobDao{

	public JobDaoImpl() {
		//设置命名空间
		this.setNs("edu.paper.job.JobMapper.");
	}

	

	@Override
	public List<Job> query(Job job) {
		//模糊查询
		return this.getSqlSession().selectList(this.getNs() + "query",job);
	}
}
